import { ResetComponent } from './reset/reset.component';
import { TempateFacade } from './../../components/templates/tempateFacade';
import { CountTemplate } from './../../components/templates/count';
import { SwitchTemplate } from './../../components/templates/switch';
import { DeliveryComponent } from './deliverySetup/deliverySetup.component';
import { SetupPage } from './setup';
import { RouteModel, ViewBaseService } from './../../components/viewBaseService';


export class SetupPageService extends ViewBaseService {
    static current = new SetupPageService();
    components = [SwitchTemplate, CountTemplate, TempateFacade];
    route: RouteModel = {
        path: 'setup',
        name: 'setup',
        component: SetupPage,
        children: [
            {
                path: 'delivery',
                name: 'delivery',
                component: DeliveryComponent
            },
            {
                path: 'reset',
                name: 'reset',
                component: ResetComponent
            }
        ]
    }
}